package com.lemon.exam.entity.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 日志 数据传输对象
 *
 * @author Lemon
 * @since 2025/4/25 15:10
 */
@Getter
@Setter
@ToString
@Schema(name = "日志 - 数据传输对象")
public class LoggingDTO {
    @Schema(description = "分页参数-页码")
    private Integer pageNum = 1;

    @Schema(description = "分页参数-数量")
    private Integer pageSize = 10;

    @Schema(description = "响应状态码")
    private Integer code;

    @Schema(description = "请求方式")
    private String method;

    @Schema(description = "持续时间-最小值")
    private Long minDuration;

    @Schema(description = "持续时间-最大值")
    private Long maxDuration;

    @Schema(description = "创建时间-最小值")
    private Long minCreateTime;

    @Schema(description = "创建时间-最大值")
    private Long maxCreateTime;
}
